package top.lyunz.fangkeji.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.lyunz.fangkeji.bean.AttendanceConfig;
import top.lyunz.fangkeji.mapper.AttendanceConfigMapper;
import top.lyunz.fangkeji.service.AttendanceConfigService;
@Service
public class AttendanceConfigServiceImpl implements AttendanceConfigService {
	@Autowired
	private AttendanceConfigMapper AttendanceConfigMapper;

	@Override
	public AttendanceConfig getAttendanceConfigByCid(int cid) {
		// TODO Auto-generated method stub
		return AttendanceConfigMapper.getAttendanceConfigByCid(cid);
	}

	@Override
	public int addAttendanceConfig(AttendanceConfig attendanceConfig) {
		// TODO Auto-generated method stub
		return AttendanceConfigMapper.addAttendanceConfig(attendanceConfig);
	}

	@Override
	public int updAttendanceConfig(AttendanceConfig attendanceConfig) {
		// TODO Auto-generated method stub
		return AttendanceConfigMapper.updAttendanceConfig(attendanceConfig);
	}
}
